package com.servicio.common.UI;

import java.awt.EventQueue;

import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JInternalFrame;
import javax.swing.JLabel;
import javax.swing.JSeparator;
import javax.swing.JTextField;

import net.miginfocom.swing.MigLayout;

public class Nomenclator extends JInternalFrame {

	private JTextField textField;
	private JTextField textField_1;
	private JTextField textField_2;
	private JTextField textField_3;
	private JTextField textField_4;
	private JTextField textField_5;
	private JTextField textField_6;
	private JTextField textField_7;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					Nomenclator frame = new Nomenclator();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public Nomenclator() {
		setBounds(100, 100, 450, 300);
		setResizable(true);
		setClosable(true);
		setTitle("Test Frame (Internal)");
		setBounds(100, 100, 516, 243);
		getContentPane().setLayout(new MigLayout("", "[][grow][][grow][][grow]", "[][][][][][][][][][][][][][]"));
		
		JLabel lblAtencionPuedeIndicar = new JLabel("ATENCION: Puede indicar galenaje o valor de m\u00F3dulo para que sea tenido");
		getContentPane().add(lblAtencionPuedeIndicar, "cell 3 0");
		
		JLabel lblNewLabel = new JLabel("New label");
		getContentPane().add(lblNewLabel, "cell 0 1,alignx trailing");
		
		textField = new JTextField();
		getContentPane().add(textField, "flowx,cell 3 1,growx");
		textField.setColumns(10);
		
		JLabel lblNewLabel_1 = new JLabel("New label");
		getContentPane().add(lblNewLabel_1, "cell 3 1");
		
		textField_1 = new JTextField();
		getContentPane().add(textField_1, "cell 3 1");
		textField_1.setColumns(10);
		
		JSeparator separator = new JSeparator();
		getContentPane().add(separator, "cell 3 2");
		
		JLabel lblNewLabel_2 = new JLabel("New label");
		getContentPane().add(lblNewLabel_2, "cell 1 3");
		
		JLabel lblNewLabel_3 = new JLabel("New label");
		getContentPane().add(lblNewLabel_3, "cell 3 3");
		
		JLabel lblNewLabel_6 = new JLabel("New label");
		getContentPane().add(lblNewLabel_6, "cell 5 3");
		
		JLabel lblNewLabel_4 = new JLabel("New label");
		getContentPane().add(lblNewLabel_4, "cell 0 4,alignx trailing");
		
		textField_2 = new JTextField();
		getContentPane().add(textField_2, "cell 1 4,growx");
		textField_2.setColumns(10);
		
		textField_3 = new JTextField();
		getContentPane().add(textField_3, "cell 3 4,growx");
		textField_3.setColumns(10);
		
		textField_4 = new JTextField();
		getContentPane().add(textField_4, "cell 5 4,growx");
		textField_4.setColumns(10);
		
		JLabel lblNewLabel_5 = new JLabel("New label");
		getContentPane().add(lblNewLabel_5, "cell 0 5,alignx trailing");
		
		textField_5 = new JTextField();
		getContentPane().add(textField_5, "cell 1 5,growx");
		textField_5.setColumns(10);
		
		textField_6 = new JTextField();
		getContentPane().add(textField_6, "cell 3 5,growx");
		textField_6.setColumns(10);
		
		textField_7 = new JTextField();
		getContentPane().add(textField_7, "cell 5 5,growx");
		textField_7.setColumns(10);
		
		JComboBox comboBox = new JComboBox();
		getContentPane().add(comboBox, "cell 1 6 3 1,growx");
		
		JButton btnNewButton_1 = new JButton("New button");
		getContentPane().add(btnNewButton_1, "cell 1 13");
		
		JButton btnNewButton_2 = new JButton("New button");
		getContentPane().add(btnNewButton_2, "cell 2 13");
		
		JButton btnNewButton = new JButton("New button");
		getContentPane().add(btnNewButton, "cell 3 13");

	}

}
